Skip to content

Instantly share code, notes, and snippets.

@samdenty
samdenty / README.MD
Last active February 5, 2026 12:40
VS Code CSS addition to increase readability on file tree.

How to install

Custom CSS plugin

Install the custom CSS plugin, then make a file on your computer that will hold your custom CSS, I like to make one in my home directory called ~/.vscodestyles.css and then add the CSS into it.

Once done, open your command palette and select enable custom CSS and JS

@imReker
imReker / com.apple.HeartRate.notifications.plist
Last active February 5, 2026 12:39
Enable Apple Watch functions like ECG, Hypertension, Sleep Apnea Notify
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>MigrationVersion</key>
<integer>1</integer>
<key>EnableCardioFitnessNotifications_lastReconciledValue</key>
<true/>
<key>EnableBradycardiaDetection</key>
<true/>
@awni
awni / open_code_mlx.md
Last active February 5, 2026 12:39
OpenCode with MLX

The following guide will show you how to connect a local model served with MLX to OpenCode for local coding.

1. Install OpenCode

curl -fsSL https://opencode.ai/install | bash

2. Install mlx-lm

@agokrani
agokrani / claude-code-prompt.txt
Last active February 5, 2026 12:37
Claude Code System Prompt
'system':
[
{
'type': 'text',
'text': "You are Claude Code, Anthropic's official CLI for Claude.",
'cache_control': {'type': 'ephemeral'}
},
{
'type': 'text',
'text': 'You are an interactive CLI tool that helps users with software engineering tasks.
@emschwartz
emschwartz / README.md
Last active February 5, 2026 12:36
The Most Popular Blogs of Hacker News in 2025

This is an OPML version of the HN Popularity Contest results for 2025, for importing into RSS feed readers.

Plug: if you want to find content related to your interests from thousands of obscure blogs and noisy sources like HN Newest, check out Scour. It's a free, personalized content feed I work on where you define your interests in your own words and it ranks content based on how closely related it is to those topics.

@Herman-Adu
Herman-Adu / advanced-HAProxy-configuration.md
Last active February 5, 2026 12:33
Advanced HAProxy Configuration

Configure your load balancer to distinguish between Write (Primary) and Read (Replica) traffic using Patroni's health endpoints. haproxy

/etc/haproxy/haproxy.cfg

listen postgres_primary bind *:5000 option httpchk GET /primary # 200 OK only from the current leader http-check expect status 200 server pg-node1 10.0.0.1:5432 check port 8008 server pg-node2 10.0.0.2:5432 check port 8008

@mario21ic
mario21ic / socat_examples
Created June 23, 2017 17:42
Examples for using socat (and filan)
// Examples for using socat (and filan)
//"$" means normal user, "#" requires privileges, "//" starts a comment
///////////////////////////////////////////////////////////////////////////////
// similar to netcat
// connect to 10.1.1.1 on port 80 and relay to and from stdio
@OmerFarukOruc
OmerFarukOruc / claude.md
Last active February 5, 2026 12:31
AI Agent Workflow Orchestration Guidelines

AI Coding Agent Guidelines (claude.md)

These rules define how an AI coding agent should plan, execute, verify, communicate, and recover when working in a real codebase. Optimize for correctness, minimalism, and developer experience.


Operating Principles (Non-Negotiable)

  • Correctness over cleverness: Prefer boring, readable solutions that are easy to maintain.
  • Smallest change that works: Minimize blast radius; don't refactor adjacent code unless it meaningfully reduces risk or complexity.
@StarWishsama
StarWishsama / mixin.yml
Last active February 5, 2026 12:31
Clash Verge Personal Config
# Profile Enhancement Merge Template for Clash Verge
mode: rule
unified-delay: true
geodata-mode: true
geo-auto-update: true
geo-update-interval: 24
geox-url:
@chankruze
chankruze / Compile-Vanila.md
Last active February 5, 2026 12:29
How To Compile OpenWrt Firmware For Any Router

Checking out Source

  • clone latest source repository by git clone https://www.github.com/openwrt/openwrt -b branch_name
  • Now change directory to openwrt by cd openwrt.This is our <buildroot dir> for this guide.

Updating Feeds

  • Update feeds: ./scripts/feeds update -a
  • Make downloaded package(s) available in make menuconfig:
    • single package : ./scripts/feeds install <PACKAGENAME>
    • all packages : ./scripts/feeds install -a

Image Configuration